<script>
$(function(){
	$(".sort").tablesorter({widgets: ['zebra']});

	$("#lbl_data").html($("#date_imp").val());
});
</script>
<div style="font-size: 22px; color: black; text-align: left; margin-top: 3px;">
	Relatorio por dia
</div>
<hr style="border-top: 1px dashed gray; margin-top: 9px; margin-bottom: 5px;" />
<table>
	<tr>
		<td>
			Data
		</td>
		<td>
			:
		</td>
		<td>
			<label id="lbl_data"></label>
		</td>
	</tr>
</table>
<hr style="margin-top: 5px; margin-bottom: 5px;" />
<table class="sort" width="100%" cellspacing="1" cellpadding="5" style="font-size: 15px;">
	<thead>
		<tr>
			<th>
				Funcionario
			</th>
			<th>
				Total
			</th>
		</tr>
	</thead>
	<tbody>
		<?php 
		foreach ($this->rel as $key => $val)
		{
		?>
		<tr>
			<td>
				<?php echo $val["caf01_user"]; ?>
			</td>
			<td>
				R$<?php echo Num::money($val["caf05_valor"]); ?>
			</td>
		</tr>
		<?
		}
		?>
	</tbody>
</table>